7d336761a7ea274e1e5d954070d8ba29f95941ce,ecj/ec/pso/PSOBreeder.java,PSOBreeder,setup,#EvolutionState#Parameter#,32
Before Change
{
neighborhood = C_NEIGHBORHOOD_TOROIDAL;
}
else state.output.fatal( "Neighborhood style must be either 'random' or 'toroidal'.", base.push(P_NEIGHBORHOOD), null );
}
public Population breedPopulation(EvolutionState state)
After Change
{
neighborhood = C_NEIGHBORHOOD_RANDOM_EACH_TIME;
}
else state.output.fatal( "Neighborhood style must be either 'random', 'toroidal', or 'random-each-time'.", base.push(P_NEIGHBORHOOD), null );
includeSelf = state.parameters.getBoolean(base.push(P_INCLUDE_SELF), null, false);
}